package org.codefinger.dao.util.jdbc;

import java.math.BigDecimal;
import java.sql.PreparedStatement;
import java.sql.SQLException;

public class BigDecimalSetter implements StatementSetter {

	public static final BigDecimalSetter	INSTANCE	= new BigDecimalSetter();

	private BigDecimalSetter() {

	}

	@Override
	public void setParam(PreparedStatement statement, int index, Object param) throws SQLException {
		statement.setBigDecimal(index, (BigDecimal) param);
	}
}
